import {get,post} from '@/utils/request'

export function getList(params) {
  return get('/ht/trusteeshipLogList.json',
    params)
}

export function  refuseTrusteeship(params) {
   return post("/ht/refuseTrusteeship.json",params)
}

export function  auditTrusteeship(params) {
  return post("/ht/auditTrusteeship.json",params)
}

export function trusteeshipList(params) {
  return get('/ht/officialTrusteeshipList.json',
    params)
}

export function cancelTrusteeship(id) {
  return post("/ht/cancelTrusteeship.json",{id:id})
}

export function getComputerList(id) {
  return get("/ht/trusteeshipEnterprise.json",{trusteeshipId:id})
}





//获取托管服务器列表
export function  trustList(params) {
  return get("/ht/htTrusteeshipList.json",params);
}
//编辑托管服务器列表
export function  editTrustList(params) {
  return post("/ht/trusteeshipEdit.json",params);
}
//删除托管服务器列表
export function  delTrustList(params) {
  return post("/ht/trusteeshipDel.json",params);
}
